/*
 * @Author: 张小平
 * @Date:   2025-05-01 
 * @Email:  qqshuqian@163.com 
 * @Copyright © 2024 aseyun. All rights reserved.
 */
import BaseInfo from '../popform/BaseInfo.vue'
import Tabs2 from '../../design/Tabs2.vue'

const tabs = {
  components: {
    BaseInfo,
    Tabs2
  },
  props: {
    procId: {
      type: String,
      default: ''
    },
    item: {
      type: Object,
      default: () => {}
    }
  },
  data() {
    return {
      tab: 0
    }
  },
  methods: {
    handleTab(item, i) {
      this.tab = i
    },
    handleBaseInfo(item) {
      this.$emit('on-item', item)
    }
  }
}

export default tabs
